﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PraxisRent.Entities;

namespace PraxisRent.Repository
{
    public interface IColorRepository
    {
        List<COLOR> GetAllFromColor();
        List<COLOR> GetAllFromColorByCriterio(string criterio);
        List<COLOR> GetAllListFromColorById(Int32 id);
        COLOR GetAllFRomColorById(Int32 id);

        bool ExisteDuplicidad(string criterio, Int32 id);

        void AddColor(COLOR color);
        void UpdateColor(COLOR color);
        void DeleteColor(Int32 id);
    }
}
